SmartCrawl\Schema\Fragments\Media A

Total Complexity 56
Dependencies 6
Dependents 1
Total lines 404
Lines of code 232
Logical lines of code 101
Comment lines 118
Methods 21
Properties 4

Methods 21

Method Rating Maintainability Complexity Lines of code
add_oembed_schema()
A
49 12 29
media_data_to_schema()
S
53 6 22
add_attachment_schema()
S
55 5 20
add_youtube_thumbnail_data()
S
55 4 20
get_raw()
S
62 4 12
get_youtube_schema()
S
54 3 21
get_video_schema()
S
55 2 20
add_embed_url_property()
S
64 3 9
get_attachment_schema()
S
62 2 12
get_duration()
S
68 2 7
get_video_attachment_schema()
S
64 2 9
get_video_poster_attribute()
S
68 2 7
get_audio_schema()
S
63 1 12
is_audio_enabled()
S
80 1 3
add_schema()
S
80 1 3
__construct()
S
72 1 5
is_mime_type_audio()
S
78 1 3
is_mime_type_video()
S
78 1 3
get_audio_attachment_schema()
S
69 1 7
seconds_to_duration()
S
71 1 5
is_video_enabled()
S
80 1 3